<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@page import="com.systop.common.modules.security.user.UserUtil"%>
<%@page import="com.systop.common.modules.security.user.model.User"%>

<html>
<head>
<title>河北龙天文化</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@include file="/common/extjs.jsp"%>
<LINK href="${ctx}/styles/style.css" type='text/css' rel='stylesheet'>
<LINK href="${ctx}/pages/admin/layout.css" type='text/css' rel='stylesheet'>
<style type="text/css">
.title{
	font-weight: bold;
}
</style>
</head>
<body>

<script type="text/javascript">
	Ext.onReady(function() {
		Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
		var viewport = new Ext.Viewport( {
			layout : 'border',
			items : [ new Ext.BoxComponent( { // raw
						region : 'north',
						el : 'north',
						height : 32
					}), {
				region : 'west',
				id : 'west-panel',
				title : '<div align="center">系 统 菜 单</div>',
				split : true,
				width : 150,
				minSize : 150,
				maxSize : 400,
				collapsible : true,
				margins : '0 0 0 5',
				layout : 'accordion',
				layoutConfig : {
					animate : true
				},
				items : [ 
				{
					title : '<span class="title">图书管理</span>',
					html : document.getElementById('tsgl').innerHTML,
					border : false,
					iconCls : 'book'
				},
				{
					title : '<span class="title">内容管理</span>',
					html : document.getElementById('cms').innerHTML,
					border : false,
					iconCls : 'cms'
				},
				{
					title : '<span class="title">客户管理</span>',
					html : document.getElementById('customer').innerHTML,
					border : false,
					iconCls : 'customer'
				},
				{
					title : '<span class="title">订单管理</span>',
					html : document.getElementById('orderManage').innerHTML,
					border : false,
					iconCls : 'order'
				},
				{
					title : '<span class="title">短信管理</span>',
					html : document.getElementById('message').innerHTML,
					border : false,
					iconCls : 'message'
				},
				{
					title : '<span class="title">系统管理</span>',
					html : document.getElementById('system').innerHTML,
					border : false,
					iconCls : 'system'
				}]
			},
			{
				region : 'center',
				contentEl : 'center',
				split : true,
				border : true,
				margins : '0 5 0 0'
			} ]
		});
	});
</script>
<%@include file="/pages/admin/menu.jsp"%>
<div id="west"></div>
<div id="north">
<table width="100%" border="0">
	<tr>
		<td align="left" width="60%">
		  &nbsp;<img src="${ctx}/images/longtian/longtian.gif">
		</td>
		<stc:ifLogin>
			<td align="right" style="color: #336699; padding-right: 20px">
				欢迎您：<stc:username></stc:username> &nbsp;&nbsp;|&nbsp;&nbsp; 
				<a href="${ctx}/pages/main.jsp" target="_blank" style="color: #336699">
					<img src="${ctx}/images/exticons/rss.gif">&nbsp;前台首页
				</a>&nbsp;&nbsp;|&nbsp;&nbsp; 
				<a href="${ctx}/pages/admin/main.jsp" target="main" style="color: #336699">
					<img src="${ctx}/images/icons/house.gif">&nbsp;后台首页
				</a>
				&nbsp;&nbsp;|&nbsp;&nbsp; 
				<a href="${ctx}/j_acegi_logout" target="_self" style="color: #336699">
					<img src="${ctx}/images/icons/lock_go.gif">&nbsp;注销 
				</a>
				${param.bbsId}
			</td>
		</stc:ifLogin>
		<stc:ifNotLogin>
			<td align="right" style="color: #336699; padding-right: 20px">
				<a href="${ctx}/login.jsp" target="_self" style="color: #336699">
					<img src="${ctx}/images/icons/user_go.gif">&nbsp;登录 
				</a>
				<a href="${ctx}/restorePassword/edit.do" target="_self" style="color: #336699">
					<img src="${ctx}/images/icons/zoom.gif">&nbsp;忘记密码
				</a>
			</td>
		</stc:ifNotLogin>
	</tr>
</table>
</div>
<div id="center">
	<iframe id="main" name="main"
		src="${ctx}/pages/admin/main.jsp"
		style="width: 100%; height: 100%; border: 0px;" frameborder="0">
	</iframe>
</div>
</body>
</html>
